﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DangerousTest.aspx.cs" Inherits="DangerousTest.dANGEROUStEST" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="main" runat="server">
    <div>
        <asp:Label Text="Sample text" runat="server"></asp:Label>
        <br />
        <asp:TextBox ID="txtSampleText" runat="server"
          Width="330px">&lt;script&gt;alert(&quot;bug!&quot;)&lt;/script&gt;</asp:TextBox>
        <br />
        <br />
        &nbsp;&nbsp; 
        <asp:Button ID="btnShowHtmlEncoded" runat="server" Text="Show text" OnClick="btnShowHtmlEncoded_Click" />    
        <br />
        <br />
        <asp:TextBox ID="txtEnteredText" runat="server"></asp:TextBox>
        <asp:Label ID="lblEnterdText" runat="server" ForeColor="red"></asp:Label>
    </div>
    </form>
</body>
</html>
